package com.lxm.service.impl;

import com.lxm.entity.RoleResource;
import com.lxm.dao.RoleResourceMapper;
import com.lxm.service.IRoleResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lxm
 * @since 2021-11-18
 */
@Service
public class RoleResourceServiceImpl extends ServiceImpl<RoleResourceMapper, RoleResource> implements IRoleResourceService {

    @Override
    public List<RoleResource> selectResourceByRoleId(int roleId) {
        return baseMapper.selectResourceByRoleId(roleId);
    }
}
